package top.techqi.app.wol.db.tbl

import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey

@Entity(tableName = "devices", indices = [Index(value = ["addr"], unique = true)])
data class Device(
    @PrimaryKey(autoGenerate = true)
    val id: Int,
    val icon: String?,
    val name: String,
    val addr: String
)